package com.binvshe.binvshe.account.forgetpwd;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.binvshe.binvshe.R;
import com.binvshe.binvshe.account.forgetpwd.fragment.ForgetPhoneFragment;
import com.binvshe.binvshe.account.utils.FragmentUtils;
import com.pachong.android.baseuicomponent.activity.BaseActivity;

public class ForgetPwdActivity extends BaseActivity {

    public static void start(Activity activity) {
        Intent starter = new Intent(activity, ForgetPwdActivity.class);
        activity.startActivity(starter);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        hideToolbar();
    }

    @Override
    public View createDataView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.act_forget_pwd, null);
        FragmentUtils.addFirstFragment(getSupportFragmentManager(), R.id.forgetContainer, new ForgetPhoneFragment());
        return view;
    }
}
